************************************************************************************
**  Replication code for "Fiscal Incentives for Conflict"
**  Notes: Figure of India-wide Iron Ore output (Figure A2: Panel A)
*************************************************************************************

global mines = "F:/Dropbox (ESOC - Princeton)/Public services and conflict in India/Mining"

* Users can create separate folders for graphs and table output, the standard setting is to save all output in the main directory.
global mytables "$mines/Restat_Repository"
global myfigures "$mines/Restat_Repository"

cd "$mines/Restat_Repository"


*---------------------
* Figure A2: Panel A
*---------------------
u FINAL_Replication_Output.dta, clear
twoway (connected log_iron_output year, xline(2008.5) ylabel(3(1)6)  xlabel(2003(1)2013) scheme(s1color))
graph export "$myfigures/FigureA2_PanelA.pdf", replace
